package com.team1.system.librarybooktag.domain;

import com.team1.common.annotation.Excel;
import com.team1.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图书和种类关联管理对象 library_book_tag
 * 
 * @author hyy
 * @date 2023-04-10
 */
public class LibraryBookTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图书id */
    private Long bookId;

    /** 种类id */
    private Long tagId;

    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("bookId", getBookId())
            .append("tagId", getTagId())
            .toString();
    }
}
